﻿namespace AgentJohnson.Test
{
  using System;
  using System.Collections;
  using System.Collections.Generic;

  /// <summary>Defines the <see cref="ItemAccessor"/> class.</summary>
  public class ItemAccessor : IEnumerable<int>
  {
    #region Explicit Interface Methods

    /// <summary>
    /// Returns an enumerator that iterates through the collection.
    /// </summary>
    /// <returns>
    /// A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
    /// </returns>
    /// <exception cref="NotImplementedException">Not implemented</exception>
    public IEnumerator<int> GetEnumerator()
    {
      throw new NotImplementedException();
    }

    /// <summary>Returns an enumerator that iterates through a collection.</summary>
    /// <returns>An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.</returns>
    /// <filterpriority>2</filterpriority>
    IEnumerator IEnumerable.GetEnumerator()
    {
      return this.GetEnumerator();
    }

    #endregion
  }
}